package com.gitee.flow.service;

import com.gitee.flow.entity.HiTaskinstEntity;
import com.gitee.jmash.core.orm.tenant.TenantService;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import java.util.Set;
import org.checkerframework.checker.units.qual.N;

/**
 * act_hi_taskinst服务Write接口.
 *
 * @author <a href="mailto:service@crenjoy.com">crenjoy</a>
 */
public interface HiTaskinstWrite extends TenantService {

  /** 更新执行人. */
  public boolean setAssignee(@NotNull String entityId, @NotNull String assignee);

  /** 根据主键删除. */
  public HiTaskinstEntity delete(@NotNull String entityId);

  /** 根据主键数组删除. */
  public Integer batchDelete(@NotNull @Valid Set<@NotNull String> entityIds);



}
